.img-box {
    width: 300px;
    height: 180px;
    text-align: center;
}
.img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}